keys = (
"invisibility",
"jump"		,
"nightVision"	,
"regeneration",
"fireResistance",
"waterBreathing",
"damageBoost",
"digSpeed"	,
"heal"		,
"moveSpeed"	,
"resistance"	,
"hunger"		,
"moveSlowdown",
"weakness"	,
"digSlowDown"	,
"blindness"	,
"confusion"	,
"harm"		,
"poison"		)

from itertools import combinations

c = 0
for i in [len(keys)]+range(1,3):
	for comb in combinations(keys,i):
		c+=1
		print "- kind: Potion"
		print "  properties:"
		for name in comb:
			print "  - name: "+name
		print "  - name: bad"
